package cug.example.learningbase.Test;

public class Animal {
    int a;

    Animal(int a) {
        this.a = a;
    }
}

class Dog extends Animal {

    Dog(){
        super(10);
    }

    public  static void main(String[] args) {
        Dog d = new Dog();
        System.out.println(d.a);
    }
}

